<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%
	String appPath = request.getContextPath();
%>
<div>
	<div id="order_gift_div">
		<div class="weui-popup-overlay"></div>
		<div class="weui-popup-modal">
			<div class="weui_cells_title " style="border-bottom: 1px solid #d9d9d9;">赠品列表</div>
			<c:forEach items="${goodsInfoList}" var="goodsInfo">
				<div id="gift${goodsInfo[1]}" class="gift-div weui_cell  classweui_cell_primary" style="width: 100%" onclick="giftCheck(this)">
					<div style="width: 100%">
						<div class="gift-checkbox fl">
							<input type="checkbox" value="${goodsInfo[1]}" name="giftSkuId"  onclick="javascript:proventParentEvent(event);"/>
						</div>
						<div class="gift-image fl">
							<a href="javascript:void(0);"> <img width="100" height="100" src="${goodsInfo[4]}" />
							</a>
						</div>
						<div class="gift-info fl">
							<div class="gift-name">
								<a href="javascript:void(0);">${goodsInfo[2]}</a>
							</div>
							<div class="gift-price">
								<label> <strong>￥<fmt:formatNumber value="${goodsInfo[3]/100}" pattern="0.00" /></strong>
								</label>
							</div>
						</div>
					</div>
				</div>
			</c:forEach>
			<div style="clear: both; height: 10px;"></div>
			<a href="javascript:showSelectGift();" class="weui_btn weui_btn_plain_primary close-popup" style="width: 80%">确定</a>
		</div>
	</div>
</div>
